package com.ttg.model.mapper;
import com.ttg.model.pojo.BankOrderCreditInfoPrimitive;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * (TblOrderCreditInfo) mapper
 *
 * @author chenyou
 * @datetime 2025-11-12 13:53:43
 */
@Mapper
public interface BankOrderCreditInfoPrimitiveMapper extends BaseMapper<BankOrderCreditInfoPrimitive>{

    boolean deleteByOrdNos(@Param("ordNos") List<String> ordNos);

    boolean deleteByDate(@Param("date") LocalDate date);

    List<BankOrderCreditInfoPrimitive> selectExistByMultiFields(@Param("list") List<BankOrderCreditInfoPrimitive> list);

}

